function getData(page, size, setTotal,obj) {
  axiosRequest1("post", `/logs/getLogList/${page}/${size}`,obj).then((result) => {
    const { code, message, data } = result.data
    if (code === 200) {
      setTotal(data.totalSize)
      let s = ''
      data.list.forEach(item => {
        s += `<tr>
        <td>${item.jId}</td>
        <td>${item.uId}</td>
        <td>${item.user.uName}</td>
        <td>${item.module.moduleRName}</td>
        <td>${item.jContent}</td>
        <td>${item.jDate}</td>
        <td>
          <a href="javascript:void(0);" 
          onclick="goDetail('${'uId='+item.uId+'&'+'uName='+item.user.uName+'&'+
            'mName='+item.module.moduleRName+'&'+
            'content='+item.jContent+'&'+'date='+item.jDate}')"
          class="tablelink">查看日志信息</a>
        </td>
      </tr>`
      });
      $('#tbody').html(s)
    }else{
      showMessage("没有相应数据",2000)
    }
  }).catch((err) => {
    showMessage('数据获取失败', 2000)
    console.log(err);
  });
}

function goDetail(s) {
  s=encodeURI(s)
  location.href=`logView.html?${s}`
}
